import { registerMicroApps, start } from 'qiankun';
import Vue from "vue";

import store from './store'
import app from './app'

new Vue({
  el: '#app',
  store,
  render: h => h(app)
})
console.log('gggg base', store)

registerMicroApps([
  {
    name: 'micro-app1',
    entry: '//localhost:8001',
    container: '#micro-con',
    activeRule: '#/micro-app1',
    props: {store, Vue}
  }
]);

start();
